package com.yiduo.outpost.core.web.argument;

import java.lang.annotation.*;

/**
 * @author yanwen
 */
@Target(ElementType.PARAMETER)
@Retention(RetentionPolicy.RUNTIME)
@Inherited
@Documented
public @interface QueryWrapperDecorator {

    String field() default "";

    Operator operator() default Operator.EQ;

    Logic logic() default Logic.AND;

    boolean[] booleans() default {};

    String[] strings() default {};

    int[] ints() default {};

    QueryWrapperMapper[] mappers() default {};

    boolean restrict() default false;

}
